import service from "../request.js";

export function getMenuList(data) {
  return service({
    method: "post",
    url: "/menu/list",
    data,
  });
}
export function deleteMenu(data) {
  return service({
    method: "get",
    url: `/menu/delete/${data}`,
  });
}
export function updateMenu(data) {
  return service({
    method: "post",
    url: `/menu/update`,
    data
  });
}


